package net.web.belerofont.action.support;

import net.web.belerofont.action.URIMap;


public class URIMapSupport implements URIMap {
	
	private String uri;

	private TransferType transferType = TransferType.INVALID;

	public String getUri() {
		return uri;
	}

	public TransferType getTransferType() {
		return transferType;
	}
	
	public static URIMap instance(String uri, String transfer) {
		URIMapSupport map = new URIMapSupport();
		map.uri = uri;
		
		map.transferType = map.transferType.get(transfer);
		
		return map;
	}
}
 
